﻿using System.Collections.Generic;
using INSE6260.OnlineBanking.Model.Accounts;
using INSE6260.OnlineBanking.Infrastructure;
using INSE6260.OnlineBanking.Infrastructure.Domain;

namespace INSE6260.OnlineBanking.Model.Payee
{
    public class PayeeName : EntityBase, IAggregateRoot
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Instruction { get; set; }
        public int AccountId { get; set; }

        public virtual Account Account { get; set; }
        public virtual ICollection<Payee> Payees { get; set; }
    }
}
